OnePageExpress\Companion D

Total Complexity 160
Dependencies 7
Dependents 12
Total lines 1,019
Lines of code 745
Logical lines of code 353
Comment lines 16
Methods 50
Properties 11

Methods 50

Method Rating Maintainability Complexity Lines of code
getThemeMod()
A
44 12 47
applyOnPrimaryLanguage()
A
48 12 32
isFrontPage()
A
54 10 18
requireCPData()
A
44 7 45
openPageInCustomizer()
A
49 8 29
addAdminScripts()
A
41 3 97
setKirkiOutputFields()
S
51 7 25
shortcodeRefresh()
S
56 7 17
translateArgs()
S
57 7 16
isMaintainable()
S
58 7 14
gutenbergEditInCustomizerButton()
S
44 3 61
__construct()
S
52 5 24
getTreeValueAt()
S
59 5 14
__createFrontPage()
S
46 3 42
getCurrentPageId()
S
62 5 11
getCustomizerData()
S
59 4 15
checkIfCompatibleChildTheme()
S
65 4 9
get_page_link()
S
60 3 13
addEditInCustomizerPageButtons()
S
61 3 12
addGoogleFonts()
S
61 3 12
rootURL()
S
58 2 15
getFrontPage()
S
60 2 13
filterDefault()
S
61 2 12
initCompanion()
S
55 1 18
checkNotifications()
S
66 2 9
loadJSON()
S
68 2 7
isActiveThemeSupported()
S
69 2 6
isProtectedMeta()
S
64 2 10
addEditInCustomizer()
S
59 1 15
createFrontPage()
S
68 2 7
restoreFrontPage()
S
70 2 6
getThemeSlug()
S
69 2 7
prefixedMod()
S
71 2 5
filterArrayDefaults()
S
70 2 6
dataURL()
S
79 1 3
load()
S
79 1 3
echoMod()
S
78 1 3
echoURLMod()
S
71 1 5
assetsRootPath()
S
80 1 3
instance()
S
80 1 3
customizer()
S
82 1 3
registerActivationHooks()
S
66 1 9
assetsRootURL()
S
80 1 3
themeDataURL()
S
79 1 3
themeDataPath()
S
79 1 3
rootPath()
S
80 1 3
loadMaintainablePageAssets()
S
79 1 3
isMultipage()
S
79 1 3
getInstanceData()
S
80 1 3
loadJSONFile()
S
80 1 3